package bb.lanxing.model.json.level;

import android.os.Parcel;
import android.os.Parcelable;
import com.alibaba.fastjson.annotation.JSONField;

public class TiroCoupon implements Parcelable {
    public static final Parcelable.Creator<TiroCoupon> CREATOR = new Parcelable.Creator<TiroCoupon>() {
        @Override
        public TiroCoupon createFromParcel(Parcel parcel) {
            return new TiroCoupon(parcel);
        }

        @Override
        public TiroCoupon[] newArray(int i) {
            return new TiroCoupon[i];
        }
    };
    @JSONField(name = "acouponid")
    private int couponId;
    @JSONField(name = "pic")
    private String couponPic;

    @Override
    public int describeContents() {
        return 0;
    }

    public TiroCoupon() {
    }

    protected TiroCoupon(Parcel parcel) {
        this.couponId = parcel.readInt();
        this.couponPic = parcel.readString();
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(this.couponId);
        parcel.writeString(this.couponPic);
    }

    public int getCouponId() {
        return this.couponId;
    }

    public void setCouponId(int i) {
        this.couponId = i;
    }

    public String getCouponPic() {
        return this.couponPic;
    }

    public void setCouponPic(String str) {
        this.couponPic = str;
    }
}
